﻿<Window xmlns:Controls="clr-namespace:Demo01.Controls"  x:Class="Demo01.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525">
    <StackPanel>
        
		<TextBox x:Name="textBox" Height="23" TextWrapping="Wrap" Text="TextBox"/>
        <Controls:ElephantBox HorizontalContentAlignment="Center" 
                              VerticalContentAlignment="Center" FontFamily="Comic Sans MS" 
                              FontSize="22" TextWrapping="Wrap" 
                              Text="{Binding Text, ElementName=textBox}" />
    
    </StackPanel>
</Window>
